﻿<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage2.master" AutoEventWireup="false" CodeFile="Contact.aspx.vb" Inherits="Contact" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="phSidebar" Runat="Server">
    <p>&nbsp;</p>
    <p>Please use the form to the right to</p>
    <p>&nbsp;email the admin</p>
    <p>And be kind enough to add your</p>
    <p><strong>email address</strong> at the end of your message.</p>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="phContent" Runat="Server">
    <div style="border-left: thin outset #000000; border-right: medium inset #000000; border-top: thin double #000000; border-bottom: medium inset #000000; background-color: #7761A7; height: 449px; width: 482px;">
    
        <br />
    
        <asp:Label ID="lblTo" runat="server" Text="To :" Font-Bold="True"></asp:Label>
        &nbsp;&nbsp;&nbsp;<asp:Label ID="lblAdminEmail" runat="server" Text="Admin Email" 
            Font-Bold="True" Font-Italic="True"></asp:Label>
        <br />
        &nbsp;&nbsp;
        <asp:Label ID="lblFrom" runat="server" Text="From : " Font-Bold="True"></asp:Label>
&nbsp;
        <asp:TextBox ID="txtFrom" runat="server" style="margin-left: 18px" 
            Width="229px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfvFrom" runat="server" 
            ControlToValidate="txtFrom" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="revEmail" runat="server" 
            ControlToValidate="txtFrom" ErrorMessage="Invalid Email Address." 
            ForeColor="Red" 
            ValidationExpression="^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$"></asp:RegularExpressionValidator>
        <br />
        <br />
        &nbsp;
        <asp:Label ID="lblSubject" runat="server" Text="Subject :" Font-Bold="True"></asp:Label>
&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="txtSubject" runat="server" Width="224px" 
            style="margin-left: 0px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfvSubject" runat="server" 
            ControlToValidate="txtSubject" ErrorMessage="*Please add a Subject." ForeColor="Red"></asp:RequiredFieldValidator>
        <br />
        <br />
        &nbsp;
        <asp:Label ID="lblEmailMessage" runat="server" Text="Please put your email address at the end of your message" 
            style="font-style: italic" Font-Bold="True" Font-Italic="True"></asp:Label>
        <br />
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox runat="server" TextMode="MultiLine" ID="txtMessage" 
                     Height="201px" Width="306px"/>
    <asp:RequiredFieldValidator ID="rfvMessage" runat="server" 
            ControlToValidate="txtMessage" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="btnSendEmail" runat="server" Text="Send Email" 
            style="text-align: center" Font-Italic="True" />
        <br />
        &nbsp;&nbsp;
        <asp:Label ID="lblOutputMessage" runat="server"></asp:Label>
    
    </div>
</asp:Content>

